<div class="users form">
    <h2><?php __('Add Crawl'); ?></h2>
    <?php echo $form->create('Crawl',array('type'=>'file'));?>
    <fieldset>
    	 <div class="tabs">
                <ul>
                    <li><a href="#crawl-basic"><span><?php __('basic info'); ?></span></a></li>
                    <li><a href="#crawl-other"><span><?php __('others'); ?></span></a></li>
                </ul>
                <div id="crawl-basic" class="innertabs">
                	 <?php
                		echo $form->input('id');
				         echo $form->input('title',array('div'=>'wide'));
				         echo $form->input('targeturl',array('div'=>'wide'));
				         echo $form->input('urlcontains',array('div'=>'wide'));
				        echo $form->input('pages',array('div'=>'wide'));
				        echo $form->input('category_id',array('div'=>'wide','multiple' => true ));
				        echo $form->input('titlebegin',array('rows' => '2', 'cols' => '50','div'=>'wide')); 
				        echo $form->input('titleend',array('rows' => '2', 'cols' => '50','div'=>'wide')); 
				        echo $form->input('contentbegin',array('rows' => '2', 'cols' => '50','div'=>'wide')); 
				        echo $form->input('contentend',array('rows' => '2', 'cols' => '50','div'=>'wide')); 
				        ?>
                </div>
                
                 <div id="crawl-other"  class="innertabs">
	                 	<?php
		       
					        echo $form->input('authorbegin',array('rows' => '2', 'cols' => '50','div'=>'wide')); 
					        echo $form->input('authorend',array('rows' => '5', 'cols' => '50','div'=>'wide'));
					        echo $form->input('originbegin',array('rows' => '5', 'cols' => '50','div'=>'wide'));
					        echo $form->input('originend',array('rows' => '5', 'cols' => '50','div'=>'wide'));
					        echo $form->input('datetimebegin',array('rows' => '5', 'cols' => '50','div'=>'wide'));
					        echo $form->input('datetimeend',array('rows' => '2', 'cols' => '50','div'=>'wide')); 
					        
					    	?>
                 </div> 
                
       </div>
                
	    
    </fieldset>
    <?php echo $form->end('Submit'); ?>
   
</div>
